export interface CourseOrderDetail {
  code: number;
  data: Data;
  msg: string;
  traceId: string;
}

export interface Data {
  orderNo: string; // 订单号
  orderStatus: number; // 订单状态
  courses: CourseOrderInfo[]; // 课程信息
  packages: PackageOrderInfo[]; // 包裹信息
  orderAmount: number; // 订单金额
  payAmount: number; // 实际支付金额
  payMethod: number; // 支付方式
  createTime: string; // 下单时间
}

// CourseOrderInfo 订单中课程展示信息
export interface CourseOrderInfo {
  courseId: number;
  courseName: string;
  startTime: string;
  duration: number;
}

// PackageOrderInfo 订单中物流展示信息
export interface PackageOrderInfo {
  packageId: number;
  packageName: string;
  status: number;
  updateTime: string;
}
